package com.ouc.openplatform.zykt.reformManage.service.impl;
import java.util.ArrayList;
import java.util.List;

import com.ouc.openplatform.zykt.reformManage.dto.NJ_OrderInfoDTO;
import com.ouc.openplatform.zykt.reformManage.dto.NJ_OrderReformInfoDTO;
import com.ouc.openplatform.zykt.reformManage.service.NJ_ClientReformService;
import com.ouc.openplatform.zykt.reformManage.service.NJ_ReformService;


public class NJ_ClientReformServiceImpl implements NJ_ClientReformService{
	private NJ_ReformService nJ_ReformService;

	public NJ_ReformService getnJ_ReformService() {
		return nJ_ReformService;
	}

	public void setnJ_ReformService(NJ_ReformService nJ_ReformService) {
		this.nJ_ReformService = nJ_ReformService;
	}

	@Override
	public NJ_OrderInfoDTO getOrderInfo(String orderNo) {
		NJ_OrderInfoDTO result=new NJ_OrderInfoDTO();
		//result=nJ_ReformService.getOrderInfo(orderNo);
		return result;
	}

	@Override
	public void saveReformInfo(String reformInfo) {
		List<NJ_OrderReformInfoDTO> reform=new ArrayList<NJ_OrderReformInfoDTO>();
		//reform=JSON.parseArray(reformInfo, NJ_OrderReformInfoDTO.class);
		//nJ_ReformService.saveReformInfo(reform);
		
	}

	@Override
	public List<NJ_OrderReformInfoDTO> getReformInfo(String reformNo) {
		List<NJ_OrderReformInfoDTO> reform=new ArrayList<NJ_OrderReformInfoDTO>();
		//reform=nJ_ReformService.getReformInfo(reformNo);
		return reform;
	}

	//根据订单号查询整改单个数
	@Override
	public int getReformCountByOrderNo(String orderNo) {
		return nJ_ReformService.getReformCountByOrderNo(orderNo);
	}

}
